Skip to content

Fix class_create to use Function if Macro is not Defined#108

Merged
seidelrj merged 1 commit into
mainfrom
seidelrj/fix_nat20device_class_create
May 27, 2026
Merged

Fix class_create to use Function if Macro is not Defined#108
seidelrj merged 1 commit into
mainfrom
seidelrj/fix_nat20device_class_create

Conversation

@seidelrj
Copy link
Copy Markdown
Contributor

@seidelrj seidelrj commented May 27, 2026

class_create is a macro in the 5.15 linux kernel. This update allows nat20device_device_init to work for both the 5.15 and 6.6 kernels.

@seidelrj seidelrj requested a review from werwurm May 27, 2026 15:39
@github-actions
Copy link
Copy Markdown

LCOV of commit 41fab15 during lcov-test-coverage-report #238

Summary coverage rate:
  lines......: 95.6% (3048 of 3188 lines)
  functions..: 99.1% (232 of 234 functions)
  branches...: 87.1% (1658 of 1904 branches)

Files changed coverage rate: n/a

@seidelrj seidelrj merged commit 2dffb2b into main May 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants